

<!DOCTYPE html>
<html lang="zh-CN" data-default-color-scheme=auto>



<head>
  <meta charset="UTF-8">

  <link rel="apple-touch-icon" sizes="76x76" href="/img/fluid.png">
  <link rel="icon" href="/img/fluid.png">
  

  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0, shrink-to-fit=no">
  <meta http-equiv="x-ua-compatible" content="ie=edge">
  
  <meta name="theme-color" content="#2f4154">
  <meta name="author" content="计算机qwq">
  <meta name="keywords" content="">
  
    <meta name="description" content="软SIM（SoftSIM）技术详解：原理、应用与前景一、什么是软SIM？软SIM（SoftSIM），又称虚拟SIM（Virtual SIM），是一种通过纯软件方式模拟传统SIM卡功能的技术。它不需要物理SIM卡，也无需嵌入式芯片（如eSIM），而是将SIM卡的核心数据（如IMSI、密钥、鉴权算法等）以软件形式存储在设备的通用存储器中，并通过操作系统或可信环境实现SIM功能。 软SIM最早出现在20">
<meta property="og:type" content="article">
<meta property="og:title" content="软sim">
<meta property="og:url" content="https://blog.computerqwq.top/2025/10/03/ruan-sim/index.html">
<meta property="og:site_name" content="计算机">
<meta property="og:description" content="软SIM（SoftSIM）技术详解：原理、应用与前景一、什么是软SIM？软SIM（SoftSIM），又称虚拟SIM（Virtual SIM），是一种通过纯软件方式模拟传统SIM卡功能的技术。它不需要物理SIM卡，也无需嵌入式芯片（如eSIM），而是将SIM卡的核心数据（如IMSI、密钥、鉴权算法等）以软件形式存储在设备的通用存储器中，并通过操作系统或可信环境实现SIM功能。 软SIM最早出现在20">
<meta property="og:locale" content="zh_CN">
<meta property="article:published_time" content="2025-10-03T10:41:05.000Z">
<meta property="article:modified_time" content="2025-10-03T10:41:07.163Z">
<meta property="article:author" content="计算机qwq">
<meta name="twitter:card" content="summary_large_image">
  
  
    <meta name="referrer" content="no-referrer-when-downgrade">
  
  
  <title>软sim - 计算机</title>

  <link  rel="stylesheet" href="https://lib.baomitu.com/twitter-bootstrap/4.6.1/css/bootstrap.min.css" />



  <link  rel="stylesheet" href="https://lib.baomitu.com/github-markdown-css/4.0.0/github-markdown.min.css" />

  <link  rel="stylesheet" href="https://lib.baomitu.com/hint.css/2.7.0/hint.min.css" />

  <link  rel="stylesheet" href="https://lib.baomitu.com/fancybox/3.5.7/jquery.fancybox.min.css" />



<!-- 主题依赖的图标库，不要自行修改 -->
<!-- Do not modify the link that theme dependent icons -->

<link rel="stylesheet" href="//at.alicdn.com/t/c/font_1749284_5i9bdhy70f8.css">



<link rel="stylesheet" href="//at.alicdn.com/t/c/font_1736178_k526ubmyhba.css">


<link  rel="stylesheet" href="/css/main.css" />


  <link id="highlight-css" rel="stylesheet" href="/css/highlight.css" />
  
    <link id="highlight-css-dark" rel="stylesheet" href="/css/highlight-dark.css" />
  




  <script id="fluid-configs">
    var Fluid = window.Fluid || {};
    Fluid.ctx = Object.assign({}, Fluid.ctx)
    var CONFIG = {"hostname":"blog.computerqwq.top","root":"/","version":"1.9.8","typing":{"enable":true,"typeSpeed":70,"cursorChar":"_","loop":false,"scope":[]},"anchorjs":{"enable":true,"element":"h1,h2,h3,h4,h5,h6","placement":"left","visible":"hover","icon":""},"progressbar":{"enable":true,"height_px":3,"color":"#29d","options":{"showSpinner":false,"trickleSpeed":100}},"code_language":{"enable":true,"default":"TEXT"},"copy_btn":true,"image_caption":{"enable":true},"image_zoom":{"enable":true,"img_url_replace":["",""]},"toc":{"enable":true,"placement":"right","headingSelector":"h1,h2,h3,h4,h5,h6","collapseDepth":0},"lazyload":{"enable":true,"loading_img":"/img/loading.gif","onlypost":false,"offset_factor":2},"web_analytics":{"enable":true,"follow_dnt":true,"baidu":null,"google":{"measurement_id":null},"tencent":{"sid":null,"cid":null},"leancloud":{"app_id":null,"app_key":null,"server_url":null,"path":"window.location.pathname","ignore_local":false},"umami":{"src":null,"website_id":null,"domains":null,"start_time":"2024-01-01T00:00:00.000Z","token":null,"api_server":null}},"search_path":"/local-search.xml","include_content_in_search":true};

    if (CONFIG.web_analytics.follow_dnt) {
      var dntVal = navigator.doNotTrack || window.doNotTrack || navigator.msDoNotTrack;
      Fluid.ctx.dnt = dntVal && (dntVal.startsWith('1') || dntVal.startsWith('yes') || dntVal.startsWith('on'));
    }
  </script>
  <script  src="/js/utils.js" ></script>
  <script  src="/js/color-schema.js" ></script>
  

  

  

  

  

  



  
<meta name="generator" content="Hexo 7.3.0"></head>


<body>
  

  <header>
    

<div class="header-inner" style="height: 70vh;">
  <nav id="navbar" class="navbar fixed-top  navbar-expand-lg navbar-dark scrolling-navbar">
  <div class="container">
    <a class="navbar-brand" href="/">
      <strong>计算机qwq的小破站</strong>
    </a>

    <button id="navbar-toggler-btn" class="navbar-toggler" type="button" data-toggle="collapse"
            data-target="#navbarSupportedContent"
            aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
      <div class="animated-icon"><span></span><span></span><span></span></div>
    </button>

    <!-- Collapsible content -->
    <div class="collapse navbar-collapse" id="navbarSupportedContent">
      <ul class="navbar-nav ml-auto text-center">
        
          
          
          
          
            <li class="nav-item">
              <a class="nav-link" href="/" target="_self">
                <i class="iconfont icon-home-fill"></i>
                <span>首页</span>
              </a>
            </li>
          
        
          
          
          
          
            <li class="nav-item">
              <a class="nav-link" href="/archives/" target="_self">
                <i class="iconfont icon-archive-fill"></i>
                <span>归档</span>
              </a>
            </li>
          
        
          
          
          
          
            <li class="nav-item">
              <a class="nav-link" href="/categories/" target="_self">
                <i class="iconfont icon-category-fill"></i>
                <span>分类</span>
              </a>
            </li>
          
        
          
          
          
          
            <li class="nav-item">
              <a class="nav-link" href="/tags/" target="_self">
                <i class="iconfont icon-tags-fill"></i>
                <span>标签</span>
              </a>
            </li>
          
        
          
          
          
          
            <li class="nav-item">
              <a class="nav-link" href="/about/" target="_self">
                <i class="iconfont icon-user-fill"></i>
                <span>关于</span>
              </a>
            </li>
          
        
        
          <li class="nav-item" id="search-btn">
            <a class="nav-link" target="_self" href="javascript:;" data-toggle="modal" data-target="#modalSearch" aria-label="Search">
              <i class="iconfont icon-search"></i>
            </a>
          </li>
          
        
        
          <li class="nav-item" id="color-toggle-btn">
            <a class="nav-link" target="_self" href="javascript:;" aria-label="Color Toggle">
              <i class="iconfont icon-dark" id="color-toggle-icon"></i>
            </a>
          </li>
        
      </ul>
    </div>
  </div>
</nav>

  

<div id="banner" class="banner" parallax=true
     style="background: url('/img/default.png') no-repeat center center; background-size: cover;">
  <div class="full-bg-img">
    <div class="mask flex-center" style="background-color: rgba(0, 0, 0, 0.3)">
      <div class="banner-text text-center fade-in-up">
        <div class="h2">
          
            <span id="subtitle" data-typed-text="软sim"></span>
          
        </div>

        
          
  <div class="mt-3">
    
      <span class="post-meta mr-2">
        <i class="iconfont icon-author" aria-hidden="true"></i>
        计算机qwq
      </span>
    
    
      <span class="post-meta">
        <i class="iconfont icon-date-fill" aria-hidden="true"></i>
        <time datetime="2025-10-03 18:41" pubdate>
          2025年10月3日 晚上
        </time>
      </span>
    
  </div>

  <div class="mt-1">
    
      <span class="post-meta mr-2">
        <i class="iconfont icon-chart"></i>
        
          1.2k 字
        
      </span>
    

    
      <span class="post-meta mr-2">
        <i class="iconfont icon-clock-fill"></i>
        
        
        
          10 分钟
        
      </span>
    

    
    
      
        <span id="busuanzi_container_page_pv" style="display: none">
          <i class="iconfont icon-eye" aria-hidden="true"></i>
          <span id="busuanzi_value_page_pv"></span> 次
        </span>
        

      
    
  </div>


        
      </div>

      
    </div>
  </div>
</div>

</div>

  </header>

  <main>
    
      

<div class="container-fluid nopadding-x">
  <div class="row nomargin-x">
    <div class="side-col d-none d-lg-block col-lg-2">
      

    </div>

    <div class="col-lg-8 nopadding-x-md">
      <div class="container nopadding-x-md" id="board-ctn">
        <div id="board">
          <article class="post-content mx-auto">
            <h1 id="seo-header">软sim</h1>
            
            
              <div class="markdown-body">
                
                <h1 id="软SIM（SoftSIM）技术详解：原理、应用与前景"><a href="#软SIM（SoftSIM）技术详解：原理、应用与前景" class="headerlink" title="软SIM（SoftSIM）技术详解：原理、应用与前景"></a>软SIM（SoftSIM）技术详解：原理、应用与前景</h1><h2 id="一、什么是软SIM？"><a href="#一、什么是软SIM？" class="headerlink" title="一、什么是软SIM？"></a>一、什么是软SIM？</h2><p>软SIM（SoftSIM），又称虚拟SIM（Virtual SIM），是一种<strong>通过纯软件方式模拟传统SIM卡功能</strong>的技术。它不需要物理SIM卡，也无需嵌入式芯片（如eSIM），而是将SIM卡的核心数据（如IMSI、密钥、鉴权算法等）以软件形式存储在设备的通用存储器中，并通过操作系统或可信环境实现SIM功能。</p>
<p>软SIM最早出现在2015年左右，华为天际通、小米漫游等产品就是其早期应用代表。</p>
<hr>
<h2 id="二、软SIM的工作原理"><a href="#二、软SIM的工作原理" class="headerlink" title="二、软SIM的工作原理"></a>二、软SIM的工作原理</h2><p>软SIM的核心思想是：<strong>用软件替代硬件SIM卡，实现用户身份识别和网络鉴权</strong>。其基本工作流程如下：</p>
<ol>
<li><strong>数据存储</strong>：将SIM卡的关键信息（如IMSI、Ki、OPc等）存储在设备的内存中，通常通过加密保护。</li>
<li><strong>功能封装</strong>：将SIM卡的各项功能（如鉴权、短信、联系人）封装成服务模块。</li>
<li><strong>接口调用</strong>：基带芯片或操作系统通过调用软SIM模块提供的接口，完成与网络的交互。</li>
<li><strong>鉴权过程</strong>：在接入网络时，软SIM模块根据网络下发的随机数（RAND）和本地密钥计算响应值（RES），完成身份验证。</li>
</ol>
<p>为了提升安全性，部分方案将软SIM模块运行在<strong>TrustZone</strong>等可信执行环境中，防止数据被篡改或窃取。</p>
<hr>
<h2 id="三、软SIM与eSIM的区别"><a href="#三、软SIM与eSIM的区别" class="headerlink" title="三、软SIM与eSIM的区别"></a>三、软SIM与eSIM的区别</h2><table>
<thead>
<tr>
<th>特性</th>
<th>软SIM（SoftSIM）</th>
<th>eSIM（嵌入式SIM）</th>
</tr>
</thead>
<tbody><tr>
<td>是否存在硬件</td>
<td>无硬件，纯软件实现</td>
<td>有专用芯片（eUICC）</td>
</tr>
<tr>
<td>安全性</td>
<td>较低，依赖软件保护</td>
<td>高，具备硬件级安全隔离</td>
</tr>
<tr>
<td>运营商支持</td>
<td>受限，多为定制合作</td>
<td>广泛支持，符合GSMA标准</td>
</tr>
<tr>
<td>灵活性</td>
<td>高，可远程配置和切换</td>
<td>高，支持远程下载配置文件</td>
</tr>
<tr>
<td>成本</td>
<td>低，无需额外硬件</td>
<td>较高，需集成eUICC芯片</td>
</tr>
</tbody></table>
<p>软SIM的最大优势在于<strong>成本低、部署灵活</strong>，但也因缺乏硬件保护而面临更大的安全挑战。</p>
<hr>
<h2 id="四、软SIM的应用场景"><a href="#四、软SIM的应用场景" class="headerlink" title="四、软SIM的应用场景"></a>四、软SIM的应用场景</h2><p>尽管面临安全性质疑，软SIM仍在以下场景中展现出独特价值：</p>
<ol>
<li><strong>国际漫游服务</strong>：如华为天际通、飞猫卡等，通过软SIM技术为用户提供低成本的国际数据服务。</li>
<li><strong>物联网设备</strong>：对成本和体积敏感的IoT终端（如智能表计、穿戴设备）可采用软SIM降低硬件复杂度。</li>
<li><strong>企业设备管理</strong>：企业可为员工设备统一配置软SIM，集中管理通信服务，节省SIM卡采购成本。</li>
<li><strong>临时通信需求</strong>：如旅游、短期项目等场景，软SIM可快速开通、灵活切换运营商。</li>
</ol>
<hr>
<h2 id="五、软SIM的安全挑战"><a href="#五、软SIM的安全挑战" class="headerlink" title="五、软SIM的安全挑战"></a>五、软SIM的安全挑战</h2><p>软SIM的最大争议在于<strong>安全性</strong>。由于其依赖软件实现，存在以下风险：</p>
<ul>
<li><strong>数据泄露风险</strong>：SIM数据存储在通用内存中，可能被恶意软件读取或篡改。</li>
<li><strong>缺乏硬件隔离</strong>：不像eSIM有专用安全芯片，软SIM难以防范物理攻击。</li>
<li><strong>运营商信任问题</strong>：多数运营商对软SIM持谨慎态度，担心其无法保障网络安全。</li>
</ul>
<p>为缓解这些问题，部分方案采用<strong>TrustZone</strong>、<strong>OTP Fuse</strong>等技术增强安全性，但仍难以完全替代硬件SIM的安全等级。</p>
<hr>
<h2 id="六、软SIM的未来展望"><a href="#六、软SIM的未来展望" class="headerlink" title="六、软SIM的未来展望"></a>六、软SIM的未来展望</h2><p>软SIM作为一种轻量级、低成本的SIM替代方案，在<strong>特定场景下具有明显优势</strong>。未来其发展可能呈现以下趋势：</p>
<ul>
<li><strong>与eSIM融合</strong>：在低端设备中作为eSIM的补充，提供灵活的SIM部署方案。</li>
<li><strong>安全机制增强</strong>：借助TEE（可信执行环境）、区块链等技术提升数据保护能力。</li>
<li><strong>运营商合作深化</strong>：通过定制化合作模式，推动软SIM在特定市场和业务中的落地。</li>
</ul>
<p>尽管软SIM难以完全取代传统SIM或eSIM，但在<strong>物联网、跨境通信、临时接入</strong>等领域，仍具备广阔的应用前景。</p>
<hr>
<h2 id="七、结语"><a href="#七、结语" class="headerlink" title="七、结语"></a>七、结语</h2><p>软SIM代表了SIM技术“去硬件化”的一次重要尝试。它在带来灵活性和成本优势的同时，也提出了新的安全命题。未来，软SIM能否大规模普及，关键在于<strong>安全性与合规性的突破</strong>，以及<strong>产业链各方的协同推动</strong>。</p>
<hr>
<dl><dt><strong>参考文献：</strong><br>: <a target="_blank" rel="noopener" href="http://9m8m.com/1021712.html">SIM卡共享技术原理、应用场景与安全风险探讨</a><br>: <a target="_blank" rel="noopener" href="https://zhuanlan.zhihu.com/p/650256328">SoftSIM？Virtual SIM？廉价版eSIM？</a><br>: <a target="_blank" rel="noopener" href="https://www.u-blox.com/zh/technologies/isim-latest-innovation-in-sim-technology-explained">iSIM：SIM 卡技术的最新创新解读</a><br>: <a target="_blank" rel="noopener" href="https://patents.google.com/patent/CN106162505B/zh">CN106162505B - 软sim通信方法、装置及终端</a></dt><dd><a target="_blank" rel="noopener" href="https://m.36kr.com/p/1720991645697">飞猫无限用软sim卡技术提供简便的国外上网体验</a></dd></dl><hr>
<blockquote>
<p>kimi</p>
</blockquote>

                
              </div>
            
            <hr/>
            <div>
              <div class="post-metas my-3">
  
    <div class="post-meta mr-3 d-flex align-items-center">
      <i class="iconfont icon-category"></i>
      

<span class="category-chains">
  
  
    
      <span class="category-chain">
        
  <a href="/categories/%E5%86%B7%E7%9F%A5%E8%AF%86/" class="category-chain-item">冷知识</a>
  
  

      </span>
    
  
</span>

    </div>
  
  
</div>


              
  

  <div class="license-box my-3">
    <div class="license-title">
      <div>软sim</div>
      <div>https://blog.computerqwq.top/2025/10/03/ruan-sim/</div>
    </div>
    <div class="license-meta">
      
        <div class="license-meta-item">
          <div>作者</div>
          <div>计算机qwq</div>
        </div>
      
      
        <div class="license-meta-item license-meta-date">
          <div>发布于</div>
          <div>2025年10月3日</div>
        </div>
      
      
        <div class="license-meta-item license-meta-date">
          <div>更新于</div>
          <div>2025年10月3日</div>
        </div>
      
      
        <div class="license-meta-item">
          <div>许可协议</div>
          <div>
            
              
              
                <a class="print-no-link" target="_blank" href="https://creativecommons.org/licenses/by/4.0/">
                  <span class="hint--top hint--rounded" aria-label="BY - 署名">
                    <i class="iconfont icon-cc-by"></i>
                  </span>
                </a>
              
            
          </div>
        </div>
      
    </div>
    <div class="license-icon iconfont"></div>
  </div>



              
                <div class="post-prevnext my-3">
                  <article class="post-prev col-6">
                    
                    
                      <a href="/2025/10/07/python-ke-zhi-xing-cheng-xu-jing-xiang-xia-zai/" title="python可执行程序镜像下载">
                        <i class="iconfont icon-arrowleft"></i>
                        <span class="hidden-mobile">python可执行程序镜像下载</span>
                        <span class="visible-mobile">上一篇</span>
                      </a>
                    
                  </article>
                  <article class="post-next col-6">
                    
                    
                      <a href="/2025/10/03/hong-cha-esim/" title="红茶esim">
                        <span class="hidden-mobile">红茶esim</span>
                        <span class="visible-mobile">下一篇</span>
                        <i class="iconfont icon-arrowright"></i>
                      </a>
                    
                  </article>
                </div>
              
            </div>

            
          </article>
        </div>
      </div>
    </div>

    <div class="side-col d-none d-lg-block col-lg-2">
      
  <aside class="sidebar" style="margin-left: -1rem">
    <div id="toc">
  <p class="toc-header">
    <i class="iconfont icon-list"></i>
    <span>目录</span>
  </p>
  <div class="toc-body" id="toc-body"></div>
</div>



  </aside>


    </div>
  </div>
</div>





  



  



  



  



  







    

    
      <a id="scroll-top-button" aria-label="TOP" href="#" role="button">
        <i class="iconfont icon-arrowup" aria-hidden="true"></i>
      </a>
    

    
      <div class="modal fade" id="modalSearch" tabindex="-1" role="dialog" aria-labelledby="ModalLabel"
     aria-hidden="true">
  <div class="modal-dialog modal-dialog-scrollable modal-lg" role="document">
    <div class="modal-content">
      <div class="modal-header text-center">
        <h4 class="modal-title w-100 font-weight-bold">搜索</h4>
        <button type="button" id="local-search-close" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
      <div class="modal-body mx-3">
        <div class="md-form mb-5">
          <input type="text" id="local-search-input" class="form-control validate">
          <label data-error="x" data-success="v" for="local-search-input">关键词</label>
        </div>
        <div class="list-group" id="local-search-result"></div>
      </div>
    </div>
  </div>
</div>

    

    
  </main>

  <footer>
    <div class="footer-inner">
  
    <div class="footer-content">
       <a href="https://hexo.io" target="_blank" rel="nofollow noopener"><span>Hexo</span></a> <i class="iconfont icon-love"></i> <a href="https://github.com/fluid-dev/hexo-theme-fluid" target="_blank" rel="nofollow noopener"><span>Fluid</span></a> 
    </div>
  
  
  
</div>

  </footer>

  <!-- Scripts -->
  
  <script  src="https://lib.baomitu.com/nprogress/0.2.0/nprogress.min.js" ></script>
  <link  rel="stylesheet" href="https://lib.baomitu.com/nprogress/0.2.0/nprogress.min.css" />

  <script>
    NProgress.configure({"showSpinner":false,"trickleSpeed":100})
    NProgress.start()
    window.addEventListener('load', function() {
      NProgress.done();
    })
  </script>


<script  src="https://lib.baomitu.com/jquery/3.6.4/jquery.min.js" ></script>
<script  src="https://lib.baomitu.com/twitter-bootstrap/4.6.1/js/bootstrap.min.js" ></script>
<script  src="/js/events.js" ></script>
<script  src="/js/plugins.js" ></script>


  <script  src="https://lib.baomitu.com/typed.js/2.0.12/typed.min.js" ></script>
  <script>
    (function (window, document) {
      var typing = Fluid.plugins.typing;
      var subtitle = document.getElementById('subtitle');
      if (!subtitle || !typing) {
        return;
      }
      var text = subtitle.getAttribute('data-typed-text');
      
        typing(text);
      
    })(window, document);
  </script>




  
    <script  src="/js/img-lazyload.js" ></script>
  




  
<script>
  Fluid.utils.createScript('https://lib.baomitu.com/tocbot/4.20.1/tocbot.min.js', function() {
    var toc = jQuery('#toc');
    if (toc.length === 0 || !window.tocbot) { return; }
    var boardCtn = jQuery('#board-ctn');
    var boardTop = boardCtn.offset().top;

    window.tocbot.init(Object.assign({
      tocSelector     : '#toc-body',
      contentSelector : '.markdown-body',
      linkClass       : 'tocbot-link',
      activeLinkClass : 'tocbot-active-link',
      listClass       : 'tocbot-list',
      isCollapsedClass: 'tocbot-is-collapsed',
      collapsibleClass: 'tocbot-is-collapsible',
      scrollSmooth    : true,
      includeTitleTags: true,
      headingsOffset  : -boardTop,
    }, CONFIG.toc));
    if (toc.find('.toc-list-item').length > 0) {
      toc.css('visibility', 'visible');
    }

    Fluid.events.registerRefreshCallback(function() {
      if ('tocbot' in window) {
        tocbot.refresh();
        var toc = jQuery('#toc');
        if (toc.length === 0 || !tocbot) {
          return;
        }
        if (toc.find('.toc-list-item').length > 0) {
          toc.css('visibility', 'visible');
        }
      }
    });
  });
</script>


  <script src=https://lib.baomitu.com/clipboard.js/2.0.11/clipboard.min.js></script>

  <script>Fluid.plugins.codeWidget();</script>


  
<script>
  Fluid.utils.createScript('https://lib.baomitu.com/anchor-js/5.0.0/anchor.min.js', function() {
    window.anchors.options = {
      placement: CONFIG.anchorjs.placement,
      visible  : CONFIG.anchorjs.visible
    };
    if (CONFIG.anchorjs.icon) {
      window.anchors.options.icon = CONFIG.anchorjs.icon;
    }
    var el = (CONFIG.anchorjs.element || 'h1,h2,h3,h4,h5,h6').split(',');
    var res = [];
    for (var item of el) {
      res.push('.markdown-body > ' + item.trim());
    }
    if (CONFIG.anchorjs.placement === 'left') {
      window.anchors.options.class = 'anchorjs-link-left';
    }
    window.anchors.add(res.join(', '));

    Fluid.events.registerRefreshCallback(function() {
      if ('anchors' in window) {
        anchors.removeAll();
        var el = (CONFIG.anchorjs.element || 'h1,h2,h3,h4,h5,h6').split(',');
        var res = [];
        for (var item of el) {
          res.push('.markdown-body > ' + item.trim());
        }
        if (CONFIG.anchorjs.placement === 'left') {
          anchors.options.class = 'anchorjs-link-left';
        }
        anchors.add(res.join(', '));
      }
    });
  });
</script>


  
<script>
  Fluid.utils.createScript('https://lib.baomitu.com/fancybox/3.5.7/jquery.fancybox.min.js', function() {
    Fluid.plugins.fancyBox();
  });
</script>


  <script>Fluid.plugins.imageCaption();</script>

  <script  src="/js/local-search.js" ></script>

  <script defer src="https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js" ></script>





<!-- 主题的启动项，将它保持在最底部 -->
<!-- the boot of the theme, keep it at the bottom -->
<script  src="/js/boot.js" ></script>


  

  <noscript>
    <div class="noscript-warning">博客在允许 JavaScript 运行的环境下浏览效果更佳</div>
  </noscript>
</body>
</html>
